package at.ac.univie.zsu.aguataplan.dao;

import java.util.List;

import at.ac.univie.zsu.aguataplan.domain.Club;
import at.ac.univie.zsu.aguataplan.domain.ClubEMail;
import at.ac.univie.zsu.aguataplan.domain.ClubWeb;

/**
 * @author gerry
 * 
 */
public interface ClubDao {

	public void cleanClub() throws Exception;

	// --------------

	public Club addClub(Club club) throws Exception;

	public void deleteClub(long id) throws Exception;

	public List<Club> getClubList() throws Exception;

	public Club getClubById(long id) throws Exception;

	public Club getClubByName(String name);

	public Club mergeClub(Club club) throws Exception;

	public void deleteClubEMail(long id) throws Exception;

	public List<ClubEMail> getClubEMailList(Club club) throws Exception;

	public List<ClubWeb> getClubWebList(Club club) throws Exception;

	public void deleteClubWeb(long id) throws Exception;

}
